import request from '@/utils/request'

// 查询预报名学生转换记录列表
export function listPreStudentStateLog(query) {
  return request({
    url: '/edu/preStudentStateLog/list',
    method: 'get',
    params: query
  })
}

// 查询预报名学生转换记录详细
export function getPreStudentStateLog(preStateId) {
  return request({
    url: '/edu/preStudentStateLog/' + preStateId,
    method: 'get'
  })
}

// 新增预报名学生转换记录
export function addPreStudentStateLog(data) {
  return request({
    url: '/edu/preStudentStateLog',
    method: 'post',
    data: data
  })
}

// 修改预报名学生转换记录
export function updatePreStudentStateLog(data) {
  return request({
    url: '/edu/preStudentStateLog',
    method: 'put',
    data: data
  })
}

// 删除预报名学生转换记录
export function delPreStudentStateLog(preStateId) {
  return request({
    url: '/edu/preStudentStateLog/' + preStateId,
    method: 'delete'
  })
}

// 导出预报名学生转换记录
export function exportPreStudentStateLog(query) {
  return request({
    url: '/edu/preStudentStateLog/export',
    method: 'get',
    params: query
  })
}